//
// api.js
// vue3-element-admin
//
// Created by 区区电脑 on 2023/04/11.
//


import request from "@/request"



// 添加
export function AddProgramInfo(data = {}) {
    return request({url: '/api/Program/AddProgramInfo', method: 'post', data})
}

// 删除
export function DeleteProgramInfo(params = {}) {
    return request({url: '/api/Program/DeleteProgramInfo', method: 'delete', params})
}

// 修改
export function UpdateProgramInfo(data = {}) {
    return request({url: '/api/Program/UpdateProgramInfo', method: 'put', data})
}

// 分页
export function GetProgramPageList(params = {}, data = {}) {
    return request({url: '/api/Program/GetProgramPageList', method: 'post', params, data})
}

// 列表
export function GetProgramList(data = {}) {
    return request({url: '/api/Program/GetProgramList', method: 'post', data})
}
// 详情
export function GetProgramInfo(params = {}) {
    return request({url: '/api/Program/GetProgramInfo', method: 'get', params})
}
